//
//  TutorialProjectViewController.h
//  TutorialProject
//
//  Created by Ondrej Rafaj on 5.8.09.
//  Copyright Home 2009. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TutorialProjectViewController : UIViewController {
	
	// ------ Tutorial code starts here ------
	
	IBOutlet UISwitch *switch1;
	IBOutlet UISwitch *switch2;
	IBOutlet UISwitch *switch3;
	
	IBOutlet UILabel *resLabel;
	IBOutlet UISwitch *resSwitch;
	IBOutlet UITextField *resTextField;
	
	// ------ Tutorial code ends here ------
	
	
}

// ------ Tutorial code starts here ------

@property (nonatomic, retain) UISwitch *switch1;
@property (nonatomic, retain) UISwitch *switch2;
@property (nonatomic, retain) UISwitch *switch3;

@property (nonatomic, retain) UILabel *resLabel;
@property (nonatomic, retain) UISwitch *resSwitch;
@property (nonatomic, retain) UITextField *resTextField;

- (IBAction) toggleEnabledTextForSwitch1onSomeLabel: (id) sender;
- (IBAction) toggleEnabledTextFieldForSwitch2: (id) sender;
- (IBAction) toggleOnForSwitch3: (id) sender;

// ------ Tutorial code ends here ------

// This function is for button which takes you to the xprogress.com website
- (IBAction) runXprogressComButton: (id) sender;

@end

